package com.woniu.sharepark.leasesystem.common.service.impl;

import com.woniu.sharepark.leasesystem.common.dao.DrivingPermitDAO;
import com.woniu.sharepark.leasesystem.common.pojo.DrivingPermit;
import com.woniu.sharepark.leasesystem.common.service.DrivingPermitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author:rhc
 * @date: 2019/6/15
 */
@Service
public class DrivingPermitServiceImpl implements DrivingPermitService {
    @Autowired
    private DrivingPermitDAO drivingPermitDAO;

    @Override
    public DrivingPermit findPermitByUid(Integer uid) {
        return drivingPermitDAO.findPermitByUid(uid);
    }
}
